<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('AdminMesspush/index')}">{:L('CLIENTSIDE_ADMINMESSPUSH_INDEX')}</a></li>
			<li><a href="{:U('AdminMesspush/push')}">{:L('CLIENTSIDE_ADMINMESSPUSH_PUSH')}</a></li>
		</ul>
		<form method="post" class="js-ajax-form" action="{:U('AdminMesspush/index')}">
			<!-- <div class="table-actions">
				<button type="submit" class="btn btn-primary btn-small js-ajax-submit">{:L('SORT')}</button>
			</div> -->
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<th width="50">{:L('SORT')}</th>
						<th width="50">ID</th>
						<th>{:L('NAME')}</th>
						<th>{:L('CATEGORY_TYPE')}</th>
						<th>{:L('PUBLISH_DATE')}</th>
						<th>{:L('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="posts" item="vo">
						<tr>
							<td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.id}" title="ID:{$vo.id}"></td>
							<td><b>{$vo.id}</b></td>
							<td>
								{$vo.mess_name}
							</td>
							<td>
								{$vo.mess_type}
							</td>
							<td>
								{:date('Y-m-d H:i',strtotime($vo['create_time']))}
							</td>
							<td>
								<a href="{:U('AdminMesspush/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>
							</td>
						</tr>
					</foreach>
				</tbody>
			</table>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>